package com.zuberot.apnmacedonia.operators;

/**
 * @author Viktor Stojanovski - (zuberot@gmail.com)
 *
 */
public class OneMK extends MobileOperator {
	
	private static final String INTERNET_USER = null;
	private static final String INTERNET_PASSWORD = null;
	private static final String MMS_USER = null;
	private static final String MMS_PASSWORD = null;
	
	
	//Operator specific values
	private static final String MCC = "294";
	private static final String MNC = "02";
	public static final String NUMERIC = "29402";

	//Internet APN values
	private static final String INTERNET_APN_NAME = "OneMK-Internet";
	private static final String INTERNET_APN_POSTPAID = "internet";
	private static final String INTERNET_APN_PREPAID = "ppinternet";
	private static final String INTERNET_APN_TYPE = "default";
	
	//MMS APN values
	private static final String MMS_APN_NAME = "OneMK-MMS";
	private static final String MMS_APN = "mms";
	private static final String MMS_MMSC = "http://195.167.65.220:8002";
	private static final String MMS_PROXY = "10.10.10.20";
	private static final String MMS_PORT = "8080";
	private static final String MMS_APN_TYPE = "mms";
	
	public OneMK(boolean isPostpaid){
		setMcc(MCC);
		setMnc(MNC);
		setNumeric(NUMERIC);
		setInternetApnName(INTERNET_APN_NAME);
		if (isPostpaid){ //postpaid
			setInternetApn(INTERNET_APN_POSTPAID);
		} else { //prepaid
			setInternetApn(INTERNET_APN_PREPAID);
		}
		setInternetUser(INTERNET_USER);
		setInternetPassword(INTERNET_PASSWORD);
		setInternetApnType(INTERNET_APN_TYPE);
		setMmsApnName(MMS_APN_NAME);
		setMmsApn(MMS_APN);
		setMmsUser(MMS_USER);
		setMmsPassword(MMS_PASSWORD);
		setMmsMMSC(MMS_MMSC);
		setMmsProxy(MMS_PROXY);
		setMmsPort(MMS_PORT);
		setMmsApnType(MMS_APN_TYPE);
	}
}
